package org.example.huweb.web.sys_book.service;



import com.baomidou.mybatisplus.extension.service.IService;
import org.example.entity.Book;
import org.example.dto.book.BookAddBO;
import org.example.dto.book.BookEditBO;

import java.util.List;

public interface BookService extends IService<Book> {
    //添加书籍
    void add(BookAddBO bookAddBO);

    //编辑
    void edit(BookEditBO bookEditBO);

    //批量删除
    void delete(List<Long> idList);

    //分页查询
    List<Book> getCarouselList(int page, int rows);
}
